package com.moyu.admin.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/")
public class IndexController {

  /**
   * 首页
   * @return
   */
  @RequestMapping("/index")
  public String index() {
    return "index";
  }

  /**
   * 主页内容展示
   * @return
   */
  @RequestMapping("/main")
  public String index_main() {
    return "common/main";
  }

}
